package com.star.util.json;

import java.util.Map;

import com.alibaba.fastjson.JSONObject;

public class FastJsonUtil {

	public static JSONObject getJson(Map<String, Object> params) {
		JSONObject object = new JSONObject();
		for (Map.Entry<String, Object> entry : params.entrySet()) {
			object.put(entry.getKey(), entry.getValue());
		}
		return object;
	}
}
